package com.example.springsecurity.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by YangGang on 2021/11/4 11:18。
 */
@RestController
public class TextController {

    @RequestMapping("/text")
    public String text() {
        return "text";
    }

    @RequestMapping("/t/t1")
    public String t1() {
        return "is t1";
    }

    @RequestMapping("/t/t2")
    public String t2() {
        return "is t2";
    }
}
